package com.fernandomartines.dbcheck.graph.element;

import java.util.ArrayList;

public class ModelGraphAttributes extends ArrayList<ModelGraphAttribute> {

    public ModelGraphAttribute getAttributeById(String id) {
        for (ModelGraphAttribute attribute: this)
            if (attribute.getId().equals(id))
                return attribute;
        return null;
    }

}
